#ifndef MSGSERVER_H
#define MSGSERVER_H

#include "tcpserver.h"

class MsgServer
{
public:
    MsgServer(EventLoop *loop, int port);
    ~MsgServer();

    void newTcpConnection(TcpSocket *socket);
    void startListen(void);

private:
    TcpServer *m_server;
};

#endif // MSGSERVER_H
